/* 默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top center, #acbccc,
      #596c82) no-repeat center/cover;
  height: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
  transition: .3s;
}

/* flex通用样式 */
.flex {
  display: flex;
}

.center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
}

.fz24 {
  font-size: 24px;
}

.cfff {
  color: #fff;
}

.transition-3 {
  transition: .3s;
}

/* top start */
.top {
  min-width: 500px;
  height: 120px;
  width: 100%;
  background-color: #545963;
  justify-content: space-around;
  transition: .3s linear .2s;
}

.top .icon-twitter {
  font-size: 80px;
  color: #fff;
  transition: .3s;
}

h1 {
  font-size: 36px;
  font-family: 'STXingkai';
  color: #fff;
  font-weight: 400;
  text-shadow: 0px 4px 10px 0px #9B9B9B;
  transition: .3s;
}

.top ul.flex {
  width: 738px;
  height: 35px;
}

.top ul a {
  font-family: 'Source Han Sans CN';
  font-size: 24px;
  color: #fff;
}

.login-wrap a {
  font-family: 'Source Han Sans CN';
  font-size: 24px;
  color: #fff;
}

.login-wrap span {
  font-family: 'Source Han Sans CN';
  font-size: 24px;
  color: #fff;
}

.top .shopping-cart span {
  font-size: 30px;
  color: #E0EAFF;
}

.top .shopping-cart p {
  font-size: 18px;
  color: #E0EAFF;
  padding-left: 20px;
}

.top .shopping-cart {
  width: 140px;
  height: 50px;
  margin-left: 40px;
  border-radius: 6px;
  background: #4C515B;
}

.top-nav a {
  position: relative;
}

.login-wrap span {
  margin: 0 8px;
}

.top-nav li {
  transition: .3s .1s;
}

/* top动画伪类 start */
.top .logo span:hover {
  color: #62D8FF;
  transform: translate(-14px, -10px) scale(1.2) rotate(10deg);
  text-shadow: 8px 4px 4px rgba(0, 0, 0, .4);
  animation: logo 2s infinite linear alternate 1.5s;
}

.top .logo h1:hover {
  color: #62D8FF;
}

.top-nav li:hover {
  transform: translate(0, -4px) scale(1.1);
  box-shadow: 0 0 10px 10px rgba(12, 14, 81, 0.03);
}

.top-nav a:before {
  content: '';
  position: absolute;
  top: -8px;
  right: 0;
  width: 0;
  height: 1px;
  background-color: orange;
  transition: .3s;
}

.top-nav a:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: orange;
  transition: .3s;
}

.top-nav a:hover:after,
.top-nav a:hover:before {
  width: 100%;
}

.top-nav a:hover {
  text-shadow: 2 4 10px #000;
  color: #62D8FF;
}

.login-wrap a:hover,
.login-wrap span:hover {
  text-shadow: 2 4 10px #000;
  color: #62D8FF;
}

.top:hover {
  background-color: rgb(61, 66, 78);
  box-shadow: 0 0 10px 0;
}

.top:hover .shopping-cart {
  background-color: rgb(93, 101, 117);
  box-shadow: 0 0 10px 0 inset rgb(114, 123, 141);
}

span.iconfont:hover {
  color: #62D8FF;
}

@keyframes logo {
  0% {
    color: orange;
  }

  50% {
    color: pink;
  }

  100% {
    color: rgb(130, 255, 153)
  }
}

/* banner区域 start */
.banner {
  display: flex;
  width: 900vw;
  max-width: 900px;
  height: 400px;
  margin: 150px auto;
  overflow: hidden;
}

.banner .item {
  position: relative;
  width: 60px;
  margin: 10px;
  /* 鼠标小手样式 */
  cursor: pointer;
  border-radius: 30px;
  background-size: cover;
  transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  overflow: hidden;
}

.banner .item .shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: rgba(0, 0, 0, .4);
  transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.banner .item .content {
  display: flex;
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 0;
  height: 40px;
  transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.banner .item .content .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .75);
  font-size: 20px;
}

.item:nth-child(1) .icon {
  color: #fc6e51;
}

.item:nth-child(2) .icon {
  color: #ffce54;
}

.item:nth-child(3) .icon {
  color: #2ecc71;
}

.item:nth-child(4) .icon {
  color: #5d9cec;
}

.item:nth-child(5) .icon {
  color: #ac92ec;
}

.banner .item .content .text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  color: #fff;
  width: 100%;
}

.banner .item .content .text div {
  /* 超出显示省略号，需要设置width */
  width: calc(100% -70px);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .5s ease-out;
}

.banner .item .content .text .tit {
  font-size: 18px;
  font-weight: bold;
}

.banner .item .content .text .sub {
  /* 设置过渡延迟时间 */
  transition: .1s;
}

.banner .item.active {
  flex: 1;
  margin: 0;
  border-radius: 40px;
}

.banner .item .active .shadow {
  background: linear-gradient(to top, rgba(0, 0, 0, .35) 65%,
      transparent);
}

.banner .item .active .content {
  bottom: 20px;
  left: 20px;
}

.banner .item.active .content .text div {
  opacity: 1;
}

/* 网页主体区域样式 */
/* main start */
.main img {
  width: 250px;
  height: 350px;
}

.main .img img {
  width: 400px;
  height: 850px;
  vertical-align: bottom;
  box-shadow: none;
}

.main .wrap {
  position: relative;
  width: 1600px;
  height: 1100px;
  margin: 100px auto;
  border-radius: 20px;
  background-color: rgba(15, 21, 56, 0.2);
  transition: .6s .2s;
}

.main .wrap:after {
  content: '漫画系列';
  position: absolute;
  top: 20px;
  left: 20px;
  font-weight: 900;
  font-family: monospace;
  font-size: 36px;
  color: rgba(255, 255, 255, .8);
  animation: logo 2s infinite linear alternate 1.5s;
}

.main .wrap:nth-of-type(2):after {
  content: '插画系列';
}

.main .wrap:nth-of-type(3):after {
  content: '手办系列';
}

.main .container {
  justify-content: space-around;
  align-items: center;
  height: 900px;
}

.main .item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 1100px;
  height: 900px;
}

.main .item ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.main .item li {
  text-align: center;
  padding-bottom: 20px;
  transition: .6s .2s;
}

h4 {
  font-size: 24px;
  font-family: 'Courier New', Courier, monospace;
  color: rgba(255, 255, 255, .8);
}

.main .item li span {
  font-size: 18px;
  color: rgb(130, 255, 153);
}

.main .item li a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.main .item li .mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: .3s;
}

.main .mask .iconfont {
  font-size: 60px;
  opacity: 0;
  transition: .3s;
}

.main .item li:hover {
  transform: translate(0, -10px) scale(1.2) rotate(-2deg);
  box-shadow: 4px -4px 10px 1px rgba(155, 188, 255, .6);
}

.main .item li .mask:hover {
  opacity: 1;
}

.main .mask:hover .iconfont {
  opacity: .5;
}

.main .mask .iconfont:hover {
  text-shadow: 0 0 6px #49ff6b;
  opacity: 1;
}

.main .img {
  box-shadow: none;
  transition: .6s .1s;
}

.main .img:hover {
  transform: translate(-10px, -10px) scale(1.2) rotate(-10deg);
  box-shadow: 2px 2px 10px 2px rgba(155, 188, 255, .6);
  z-index: 1;
}

.main .wrap:hover {
  box-shadow: 0 0 10px 8px rgba(66, 65, 78, 0.4) inset,
    0 0 4px 14px rgba(136, 143, 179, 0.4) inset,
    0 0 8px 4px rgba(65, 45, 45, 0.6);
  border: 1px solid rgba(192, 188, 255, 0.4);
}

/* footer start */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 300px;
  background-color: #545963;
  border: 1px solid red;
  transition: 1s .1s;
}

.foot-box {
  display: flex;
  width: 800px;
  height: 100%;
}

dl {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: baseline;
}

h5 {
  padding-top: 90px;
  padding-bottom: 20px;
  font-size: 30px;
  font-weight: 600;
  color: #B7BCC1;
  line-height: 36px;
  transition: .3s;
}

.foot-box p {
  font-family: 'MiSans';
  font-size: 24px;
  line-height: 40px;
  letter-spacing: 0em;
  color: #B7BCC1;
}

.about {
  display: flex;
  width: 300px;
  height: 200px;
  justify-content: space-around;
  align-items: center;
}

.about span {
  font-size: 80px;
  color: #B7BCC1;
  transition: .4s .1s;
}

.about p {
  font-family: 'STXingkai';
  font-size: 36px;
  font-weight: normal;
  line-height: 40px;
  letter-spacing: 0em;
  color: #F5714D;
  border: 1px solid #F5714D;
  border-radius: 10px;
  padding: 14px;
  margin-left: 10px;
  transition: .3s .1s;
}

.about p:hover {
  background-color: #F5714D;
  border-radius: 18px;
  color: #fff;
  border: 1px solid #fff;
  transform: translate(4px, 4px) scale(.95);
  cursor: pointer;
}

.about:hover span {
  transform: translate(-40px, -4px) scale(1.04) rotate(-360deg);
  text-shadow: 0 0 4px 2px #62D8FF;
}
.about span:hover {
  transform: rotate(-360deg);
  cursor: pointer;
}

.about:hover p {
  box-shadow: 0 0 10px 4px rgba(136, 143, 179, 0.4);
}

.footer:hover {
  background-color: rgba(52, 57, 67, 0.9);
  box-shadow: 0 0 10px 4px rgba(136, 143, 179, 0.4);
}

h5:hover {
  color: #F5714D;
  cursor: pointer;
  transform: translate(4px, 8px);
  text-shadow: 0 0 10px 4px #62D8FF;
}

.foot-box p {
  transition: .3s .05s;
}

.foot-box p:hover {
  color: #F5714D;
  cursor: pointer;
  transform: translate(3px, 6px);
}

/* 固定定位的侧边栏 */
.position-menu {
  position: absolute;
  position: fixed;
  left: 60px;
  top: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 94px;
  height: 370px;
  border-radius: 10px;
  /* background: #77899d; */
  border: 1px solid #5a6d82;
  overflow: hidden;
  transition: .6s .1s;
}

.position-menu span {
  display: block;
  width: 50px;
  height: 80px;
  line-height: 80px;
  font-size: 50px;
  text-align: center;
  color: #acbccc;
  transition: .3s .1s;
}

.position-menu:hover {
  background: rgba(87, 102, 133, 0.6);
  border-radius: 20px;
  box-shadow: 0 0 10px 4px rgba(155, 188, 255, .4) inset;
}

.position-menu:hover span {
  color: #c0d2e3;
}

.position-menu span:hover {
  color: #49ff6b;
  cursor: pointer;
  transform: translate(4px, 8px) scale(.94);

}